<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2">
	<class name="Insesoft.BusinessEntities.Permiso,Insesoft.BusinessEntities" table="Permiso">

		<id name="Id" column="Id" type="Int32" unsaved-value="0">
			<generator class="native"/>
		</id>
    <property column="AplicacionId" type="Int32" name="AplicacionId" />
    <property column="Nombre" type="String" name="Nombre" not-null="true" length="50" />
		<property column="Tipo" type="String" name="Tipo" not-null="true" length="1" />
		<property column="Padre" type="Int32" name="Padre" />
		
	</class>
</hibernate-mapping>
